/**
 *
 * @Author 董熠涛
 * @Date 2025/6/16 20:22
 */
package example.springboot.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String email;
    private LocalDateTime createdAt;
    private String avatarUrl;
    private String role;        // 用户角色：user-普通用户, admin-管理员
    private String status;      // 账号状态：active-正常, banned-封禁
}

